import java.util.Date;
import java.util.Random;
import java.util.Scanner;

public class Csdn {
    public static void main(String[] args) {
       Scanner scan = new Scanner(System.in);
       Random random = new Random();
       int n = random.nextInt(100);
       while(true) {
           System.out.println("请输入");
           int a = scan.nextInt();
           if(a < n) {
               System.out.println("猜小了");
           }else if(a == n) {
               System.out.println("猜对了");
               break;
           } else {
               System.out.println("猜大了");
           }
       }
    }
}
